package crud.client.data;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

public class DependenceToOne implements Serializable, IsSerializable
{
	private String dependentClassName;
	private String property;
	
	
	public DependenceToOne()
	{
		super();
	}
	public DependenceToOne(String dependentClassName, String property)
	{
		super();
		this.dependentClassName = dependentClassName;
		this.property = property;
	}
	public String getDependentClassName()
	{
		return dependentClassName;
	}
	public void setDependentClassName(String dependentClassName)
	{
		this.dependentClassName = dependentClassName;
	}
	public String getProperty()
	{
		return property;
	}
	public void setProperty(String property)
	{
		this.property = property;
	}
	
	@Override
	public String toString()
	{
		return this.dependentClassName + " - " + this.property;
	}
	
}
